TreeGridLoaded ({ /* JSONP header, to be possible to load from xxx_Jsonp data source */ 
   "Cfg" : { "id": "CalcEdit", "NoVScroll": "1", "NoHScroll": "1"   }, 
   "Cols" : [ 
      { "Name": "C", "Type": "Enum", "Enum": "|White|Yellow|Lime|Aqua", "Formula": "Row.Color", "OnChange": "Row.Color=Value;Grid.ColorRow(Row);", "CanEdit": "1"   }, 
      { "Name": "D", "Type": "Bool", "Formula": "Row.CanDelete!=0", "OnChange": "Row.CanDelete=Value;Grid.RefreshCell(Row,\"Panel\");", "CanEdit": "1"   }, 
      { "Name": "E", "Type": "Bool", "Formula": "Row.XCanEdit?1:0", "OnChange": "Row.XCanEdit=Value;Grid.ColorCell(Row,\"X\");", "CanEdit": "1"   }, 
      { "Name": "X", "Type": "Int", "Formula": "Y*Y", "OnChange": "Grid.SetValue(Row,\"Y\",Value,1);", "CanEdit": "1"   }, 
      { "Name": "Y", "Type": "Int", "CanEdit": "0"   }  
   ], 
   "Header" : { "X": "X=X\u00B2 (stored in Y)", "E": "Can edit X", "C": "Color row", "D": "Can delete row", "Y": "Y (hidden)"   }, 
   "Body" : [ 
      [ 
         { "Y": "1", "Color": "Lime"   }, 
         { "Y": "4", "Color": "White", "CanDelete": "0"   }, 
         { "Y": "8", "XCanEdit": "0", "Color": "White"   }, 
         { "Y": "3", "Color": "White"   }, 
         { "Y": "10", "Color": "Aqua"   }, 
         { "Y": "9", "XCanEdit": "0", "Color": "White", "CanDelete": "0"   }  
      ], 
   ], 
   "Toolbar" : { 
      "Cells": "E,Reload,Export,Add,Columns,Cfg", 
      "EType": "Bool", "ELabelRight": "Editing", "EFormula": "Grid.Editing", "EOnChange": "Grid.Editing=Value;Grid.Rerender();", "ECanEdit": "1"  
       }, 
}) /* End of JSONP header */ 